<?php/** * Model Application * * @package  : CodeIgniter * @category : models * @author   : Oneplus <oneplus.lau@gmail.com> */class Application extends CI_Model {	function __construct() {		parent::__construct();		$this->load->database();	}	public function createApplication($data) {		$this->db->insert('applications', $data);		return $this->db->insert_id();	}	public function deleteApplication($data) {		$this->db->delete('applications', $data);		return $this->db->insert_id();	}};?>